package com.warframe.entity.market.warframe;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

public class LastTwoDays {
    /**
     * datetime : 2018-10-22T16:00:00.000+00:00
     * volume : 4
     * min_price : 15
     * max_price : 15
     * open_price : 15
     * closed_price : 15
     * avg_price : 15
     * wa_price : 15
     * median : 15
     * donch_top : 15
     * donch_bot : 15
     * order_type : sell
     * moving_avg : 13.9
     * id : 5bce0277fb16660023fa0240
     */

    @JSONField(name = "datetime")          //日期
    private Date datetime;
    @JSONField(name = "volume")            //成交数量/上架数量
    private Double volume;
    @JSONField(name = "min_price")         //最低价
    private Double minPrice;
    @JSONField(name = "max_price")         //最高价
    private Double maxPrice;
    @JSONField(name = "open_price")        //开始价格
    private Double openPrice;
    @JSONField(name = "closed_price")      //结束价格（可能是成交时再输入一个成交价格？）
    private Double closedPrice;            //过不了谷歌机器人验证，不能登陆wm不知道这东西是干嘛用的
    @JSONField(name = "avg_price")         //平均价格
    private Double avgPrice;
    @JSONField(name = "wa_price")          //哇价格？？？不懂或许是want price？
    private Double waPrice;
    @JSONField(name = "median")            //中间值
    private Double median;
    @JSONField(name = "donch_top")         //曲线顶端
    private Double donchTop;
    @JSONField(name = "donch_bot")         //曲线底端
    private Double donchBot;
    @JSONField(name = "order_type")        //交易类型（成交后无交易类型）
    private String orderType;
    @JSONField(name = "moving_avg")        //移动平均值？联通平均值？又一个看不懂的变量
    private Double movingAvg;
    @JSONField(name = "id")                //唯一标示
    private String id;

    public Date getDatetime() {
        return datetime;
    }

    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }

    public Double getVolume() {
        return volume;
    }

    public void setVolume(Double volume) {
        this.volume = volume;
    }

    public Double getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(Double minPrice) {
        this.minPrice = minPrice;
    }

    public Double getMaxPrice() {
        return maxPrice;
    }

    public void setMaxPrice(Double maxPrice) {
        this.maxPrice = maxPrice;
    }

    public Double getOpenPrice() {
        return openPrice;
    }

    public void setOpenPrice(Double openPrice) {
        this.openPrice = openPrice;
    }

    public Double getClosedPrice() {
        return closedPrice;
    }

    public void setClosedPrice(Double closedPrice) {
        this.closedPrice = closedPrice;
    }

    public Double getAvgPrice() {
        return avgPrice;
    }

    public void setAvgPrice(Double avgPrice) {
        this.avgPrice = avgPrice;
    }

    public Double getWaPrice() {
        return waPrice;
    }

    public void setWaPrice(Double waPrice) {
        this.waPrice = waPrice;
    }

    public Double getMedian() {
        return median;
    }

    public void setMedian(Double median) {
        this.median = median;
    }

    public Double getDonchTop() {
        return donchTop;
    }

    public void setDonchTop(Double donchTop) {
        this.donchTop = donchTop;
    }

    public Double getDonchBot() {
        return donchBot;
    }

    public void setDonchBot(Double donchBot) {
        this.donchBot = donchBot;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public Double getMovingAvg() {
        return movingAvg;
    }

    public void setMovingAvg(Double movingAvg) {
        this.movingAvg = movingAvg;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
